package com.graduate.bssp.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 电影表
 * </p>
 *
 * @author yongqiangyao
 * @since 2018-02-05
 */
@TableName("movie")
public class Movie implements  Serializable{

    private static final long serialVersionUID = 1L;

    @TableId("ID")
	private Integer id;
    /**
     * 电影路径
     */
	@TableField("IMG_SRC")
	private String imgSrc;

	/**
     * 电影评分
     */
	@TableField("SCORE")
	private String score;
    /**
     * 电影名称
     */
	@TableField("NAME")
	private String name;
    /**
     * 电影详细内容
     */
	@TableField("DETAIL")
	private String detail;
    /**
     * 电影分类
     */
	@TableField("TYPE")
	private Integer type;
    /**
     * 电影概括 
     */
	@TableField("SUMMARY")
	private String summary;
	/**
	 * 是否热映
	 * @return
	 */
	@TableField("HOT_FLAG")
	private String hotFlag;

	/**
	 * 搜索名
	 * @return
	 */
	private String s_name;

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	/**
	 * 分类名称
	 * @return
	 */
	@TableField(exist=false)
	private String typeName;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * 标识
	 */
	@TableField("CODE")
	private String code;

	/**
	 * 标识名称
	 */
	@TableField("CODE")
	private String codeNm;

	public String getCodeNm() {
		return codeNm;
	}

	public void setCodeNm(String codeNm) {
		this.codeNm = codeNm;
	}

	public String getHotFlag() {
		return hotFlag;
	}

	public void setHotFlag(String hotFlag) {
		this.hotFlag = hotFlag;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public String getS_name() {
		return s_name;
	}

	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
}
